package com.yookey.service;

import org.springframework.web.multipart.MultipartFile;
/**
 *
 * @author yww
 * @date 2020/9/29
 */
public interface UploadService {
    /**
     * 头像上传到本地
     * @param multipartFile /
     * @return 头像路径
     * @throws Exception /
     */
    String uploadAvatar(MultipartFile multipartFile) throws Exception;

    /**
     * 上传头像到阿里云oss
     *
     * @param multipartFile
     * @return
     */
    String uploadOssAvatar(MultipartFile multipartFile);
}
